///CD_GetEffect(ind, position);

var ind = argument0;
var position = argument1;

var effectlist = ds_list_find_value(ind, CD_EFFECTLIST);
var tarr = ds_list_find_value(effectlist, position);
return tarr[0];
